package com.ecoolex.chinadutyfree.retailer.ws;

import java.util.List;

import com.ecoolex.chinadutyfree.retailer.entity.TaxRate;
import com.ecoolex.chinadutyfree.retailer.pojo.QueryTaxRateDTO;
import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.framework.common.pojo.Sorting;

public interface TaxRateService {

	TaxRate getTaxRate(Integer taxRateId);
	
	Pagination<TaxRate> queryTaxRate(QueryTaxRateDTO query,Sorting[] sorts,Page page);
	
	List<TaxRate> listByLastTaxRateId(Integer lastTaxRateId);
	
	TaxRate addTaxRate(TaxRate record,String createUser) throws BizException;
	
	TaxRate editTaxRate(TaxRate record,String updateUser) throws BizException;
	
	void deleteTaxRate(TaxRate record,String updateUser) throws BizException;
}
